{extend name="public/base" /}
{block name='content'}
{include file='public/content_header' /}
<!--数据列表页面-->
<section class="content">

    <div class="row">
        <div class="col-md-12">
            <div class="box">
                <div class="box-body">
                    <form class="form-inline searchForm" id="searchForm" action="{:url('index')}" method="GET">
                        <div class="form-group" style="padding-top: 3px;">
                            <select name="qd" id="qd" class="form-control input-sm index-search">
                                <option value="">- 渠道搜索 -</option>
                                <option value="快手"{if isset($qd) && $qd=='快手'}selected{/if}>快手</option>
                                <option value="抖音"{if isset($qd) && $qd=='抖音'}selected{/if}>抖音</option>
                                <option value="vivo"{if isset($qd) && $qd=='vivo'}selected{/if}>vivo</option>
                                <option value="oppo"{if isset($qd) && $qd=='oppo'}selected{/if}>oppo</option>
                                <option value="小米"{if isset($qd) && $qd=='小米'}selected{/if}>小米</option>
                            </select>
                        </div>

<!--                        <div class="form-group" style="padding-top: 3px;">-->
<!--                            <input value="{$daytime|default=''}" readonly name="daytime" id="daytime"-->
<!--                                   class="form-control input-sm indexSearchDateRange" placeholder="选择日期">-->
<!--                        </div>-->
<!--                        <script>-->
<!--                            laydate.render({-->
<!--                                elem: '#daytime',-->
<!--                            });-->
<!--                        </script>-->

                        <div class="form-group">
                            <button class="btn btn-sm btn-primary" type="submit"><i class="fa fa-search"></i> 查询
                            </button>
                        </div>
                        <div class="form-group">
                            <button onclick="clearSearchForm()" class="btn btn-sm btn-default" type="button"><i
                                    class="fa  fa-eraser"></i> 清空查询
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col-md-12">
            <div class="box">

                <div class="box-body table-responsive">
                    <table class="table table-hover table-bordered datatable" width="100%">
                        <thead>
                        {foreach name='data.infos' id='item' key='data_key'}
                        <tr>
                            <th style="width: 50%; text-align: center"><span style="color: {$item.color}">{$item.word}</span></th>
                            <th style="width: 50%; text-align: center"><span style="color: {$item.color}">{$item.values}</span></th>
                        </tr>
                        {/foreach}

                        <tr>
                            <th style="width: 50%; text-align: center"><span style="color: {$data.mfwzArr.color}">{$data.mfwzArr.word}</span></th>
                            <th style="width: 50%; text-align: center">
                                <a data-width="85%" data-height="85%" data-id="{$data.mfwzArr.start_time}#{$data.mfwzArr.end_time}" data-url="getgirlmfwzlist" data-title='符合<span style="color: red">【{$data.mfwzArr.word}】</span>的用户列表' data-confirm="2" data-type="2" class="btn btn-default btn-xs AjaxButton"  title="查看所有符合的人员" data-toggle="tooltip">
                                    <span>查看人员</span>
                                </a>
                                <span style="color: {$data.mfwzArr.color}">{$data.mfwzArr.values}</span>
                            </th>
                        </tr>
                        <tr>
                            <th style="width: 50%; text-align: center"><span style="color: {$data.tyjsyArr.color}">{$data.tyjsyArr.word}</span></th>
                            <th style="width: 50%; text-align: center">
                                <a data-width="85%" data-height="85%" data-id="{$data.tyjsyArr.start_time}#{$data.tyjsyArr.end_time}" data-url="getgirlsptyjlist" data-title='符合<span style="color: red">【{$data.tyjsyArr.word}】</span>的用户列表' data-confirm="2" data-type="2" class="btn btn-default btn-xs AjaxButton"  title="查看所有符合的人员" data-toggle="tooltip">
                                    <span>查看人员</span>
                                </a>
                                <span style="color: {$data.tyjsyArr.color}">{$data.tyjsyArr.values}</span>
                            </th>
                        </tr>
                        </thead>
                    </table>

                    <table class="table table-hover table-bordered datatable" width="100%">
                        <thead>
                        {foreach name='data.drsy' id='item' key='data_key'}
                        <tr>
                            <th style="width: 25%; text-align: center"><span style="color: {$item.color}">{$item.word}</span></th>
                            <th style="width: 25%; text-align: center"><span style="color: {$item.color}">{$item.values} 人</span>
                                <a data-width="85%" data-height="85%" data-id="{$item.min}#{$item.max}#{$item.start_time}#{$item.end_time}" data-url="getsygirllist" data-title='符合<span style="color: red">【{$item.word}】</span>的用户列表' data-confirm="2" data-type="2" class="btn btn-default btn-xs AjaxButton"  title="查看所有符合的人员" data-toggle="tooltip">
                                    <span>查看人员</span>
                                </a>
                            </th>


                            <th style="width: 25%; text-align: center"><span style="color: {$data.zrsy[$data_key]['color']}">{$data.zrsy[$data_key]['word']}</span></th>
                            <th style="width: 25%; text-align: center"><span style="color: {$data.zrsy[$data_key]['color']}">{$data.zrsy[$data_key]['values']} 人</span>
                                <a data-width="85%" data-height="85%" data-id="{$data.zrsy[$data_key]['min']}#{$data.zrsy[$data_key]['max']}#{$data.zrsy[$data_key]['start_time']}#{$data.zrsy[$data_key]['end_time']}" data-url="getsygirllist" data-title='符合<span style="color: red">【{$data.zrsy[$data_key]['word']}】</span>的用户列表' data-confirm="2" data-type="2" class="btn btn-default btn-xs AjaxButton"  title="查看所有符合的人员" data-toggle="tooltip">
                                    <span>查看人员</span>
                                </a>
                            </th>
                        </tr>
                        {/foreach}
                        </thead>
                    </table>
                </div>

            </div>
        </div>
    </div>
</section>
{/block}

